package org.dromara.community.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.dromara.community.entity.AsSponsor;
import org.dromara.community.entity.dto.AsSponsorDTO;
import org.dromara.community.mapper.AsSponsorMapper;
import org.dromara.community.service.AsSponsorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class AsSponsorServiceimpl extends ServiceImpl<AsSponsorMapper, AsSponsor> implements AsSponsorService {

    @Autowired
    private AsSponsorMapper asSponsorMapper;


    @Override
    public List<AsSponsorDTO> selectAsSponsorAll() {
        List<AsSponsorDTO> asSponsorDTOS = asSponsorMapper.selectAsSponsorAll();
        return asSponsorDTOS;
    }
}
